<div class="scrollbox fina-nos">
  <table>
    <thead>
      <tr>
        <th class="finan-time">时间</th>
        <th class="finan-bop">收支</th>
        <th class="finan-type">类型</th>
        <th class="finan-money">金额</th>
        <th class="finan-bname">分店名</th>
        <th class="sta-operation">操作</th>
      </tr>
    </thead>
    <tbody>
      <% @finances.each do |finance| %>
        <tr>
          <td><%= finance.setdate %></td>
          <td><%= finance.finance_type %></td>
          <td><%= finance.finance_category %></td>
          <td><%= finance.amount %></td>
          <td><%= finance.studio.name %></td>	
          <td class="sta-operation">
            <span>[</span>
            <em><%= link_to "编辑", edit_admin_finance_path(finance), remote: true %></em>
            <span>]</span>	
            <div class="remarks-de">
              <em>备注</em>
              <div>
                <i></i>
                <b>备注:</b>
                <p><%= finance.remark.html_safe %></p>
              </div>
            </div>
          </td>
        </tr>
      <% end %>
    </tbody>
  </table>
  <div class="apple_pagination" >
    <%= paginate @finances, :container => false %>
  </div>
</div>
